package com.itheima.itheima_health.service;

import com.itheima.itheima_health.entity.PageResult;
import com.itheima.itheima_health.entity.QueryPageBean;
import com.itheima.itheima_health.pojo.CheckGroup;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface CheckitemGroupService {
    PageResult CheckitemGropPageQuery(QueryPageBean queryPageBean);

    void CheckitemGroupAdd(CheckGroup checkGroup, Integer[] checkitemIds);

    CheckGroup CheckitemGroupfindById(Long id);

    List<Integer> findCheckitemgroupIdBycheckitemId(Long id);

    void update(CheckGroup checkGroup,Integer[] checkitemIds);

    void delete(Integer checkGroupId);

    List<CheckGroup> findAllCheckGroup();
}
